﻿


function buildFacilitySelect(id, selected) {

    var markup = "<select id='" + id + "' >";
    markup = markup + "<option value='1'>One</option>";
    markup = markup + "<option value='2'>Two</option>";
    markup = markup + "</select>";

    return markup;
}

function formatJsonDate(jsonDate) {
    date = new Date(parseInt(jsonDate.substr(6)));
    return date.getMonth() + 1 + '/' + date.getDate() + '/' + date.getFullYear();
}